package com.seven.good.service.impl;

import com.seven.good.dao.UserMapper;
import com.seven.good.pojo.User;
import com.seven.good.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <h3>easyauction</h3>
 *
 * @author : 王胜奔
 * @description : UserService接口的实现类
 * @date : 2019-10-24 19:43
 **/
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User getUserByUid(Integer uid) {
        User user=userMapper.selectByPrimaryKey(uid);
        return user;
    }
}
